package cn.zhentao.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * DashScope AI配置类
 * 用于绑定配置文件中的dashscope相关配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "dashscope")
public class DashScopeConfig {
    
    /**
     * API密钥
     */
    private String apiKey;
    
    /**
     * 应用ID
     */
    private String appId;
    
    /**
     * 超时配置
     */
    private DashScopeTimeoutConfig timeout;
} 